package com.rainripple.java.starter.code.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class CodeDto {

	@NotNull
	@Size(min = 1, max = 50)
	private String description;
	@NotNull
	@Size(min = 1, max = 5000)
	private String content;
	private Long authorId;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Long authorId) {
		this.authorId = authorId;
	}
}
